export default [
    //患者首页一级
    {
        path: '/home',
        name: 'Home',
        component: () => import(/* webpackChunkName: "home" */ '../views/mobile/home/Home.vue'),
        children: [
            {
                path:'/home',
                redirect:'/home/homes'
            },
            //患者首页二级
            {
                path: '/home/homes',
                name: 'Homes',
                component: () => import(/* webpackChunkName: "homes" */ '../views/mobile/home/homes/Homes')
            },
            // 患者快速问诊
            {
                path: '/home/inquiry',
                name: 'Inquiry',
                component: () => import(/* webpackChunkName: "inquiry" */ '../views/mobile/home/inquiry/Inquiry')
            },
            // 患者问诊记录
            {
                path: '/home/record',
                name: 'Record',
                component: () => import(/* webpackChunkName: "record" */ '../views/mobile/home/record/Record')
            },
            // 患者个人记录
            {
                path: '/home/mine',
                name: 'Mine',
                component: () => import(/* webpackChunkName: "mine" */ '../views/mobile/home/mine/Mine')
            },
        ]
    },
    // 登录
    {
        path: '/login',
        name: 'Login',
        component: () => import(/* webpackChunkName: "login" */ '../views/mobile/login/Login.vue')
    },
    // 注册
    {
        path:'/register',
        name:'Register',
        component: ()=>import(/* webpackChunkName: "register" */ '../views/mobile/register/Register.vue')
    },
    //病例
    {
        path: '/case/:id',
        name: 'Case',
        component: () => import(/* webpackChunkName: "case" */ '../views/mobile/case/Case.vue')
    },
    //医生科室列表
    {
        path: '/docl/:id',
        name: 'Docl',
        component: () => import(/* webpackChunkName: "docl" */ '../views/mobile/docl/Docl.vue')
    },
    //医生列表
    {
        path: '/doctor/:id',
        name: 'Doctor',
        component: () => import(/* webpackChunkName: "doctor" */ '../views/mobile/doctor/Doctor.vue')
    },
    //患者档案
    {
        path: '/archives/:id',
        name: 'Archives',
        component: () => import(/* webpackChunkName: "archives" */ '../views/mobile/archives/Archives.vue')
    },
    //患者充值中心
    {
        path: '/recharge/:id',
        name: 'Recharge',
        component: () => import(/* webpackChunkName: "recharge" */ '../views/mobile/recharge/Recharge.vue')
    }
]